package com.mofeng.myshop.mapper;

import com.mofeng.myshop.domain.po.Images;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 图片相关 Mapper 接口
 * </p>
 *
 * @author MoFeng
 * @since 2024-04-17
 */
public interface ImagesMapper extends BaseMapper<Images> {

    Images findByMd5(@Param("md5") String md5);

    @Select("SELECT * FROM `tb_images`")
    List<Images> findAll();

}
